﻿using System;

namespace Vkontakte.Api.Operations
{
	[ApiMethod("activity.deleteHistoryItem")]
	public sealed class ActivityDeleteHistory
		: Base30ApiOperation
	{

		public ActivityDeleteHistory()
		{

		}

		protected override void Compile()
		{
			AddParameter("format", "json");
			AddParameter("method", "activity.deleteHistoryItem");
			
			if (ActivityID == null)
			{
				throw new ArgumentNullException("ActivityID");
			}
			AddParameter("aid", ActivityID.Value.ToString());

			base.Compile();
		}

		protected override void ParseData(string data)
		{
			
			
			base.ParseData(data);
		}

		public long? ActivityID { get; set; }
	}
}